public with sharing class FlickrDemoController {
    private String wallpaperPsId = '72157605600725406';
    public String keywords{get;set;}
    
    public Flickr fc{get;set;}
    public List<Flickr.Photo> photos{get;set;}
    
    public FlickrDemoController(){
        fc = new Flickr();
        photos = fc.getPhotosByPhotoSet(wallpaperPsId);
    }
    
    public void search(){
        photos =  fc.photoSearch(keywords);
    }
}